package com.ruoyi.applet.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Arrays;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 产品型号对象 mini_product_model
 *
 * @author liucan
 * @date 2024-03-25
 */

@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MiniProductModel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 产品类型
     */
    @Excel(name = "产品类型")
    private Long prType;

    /**
     * 产品品牌id
     */
    @Excel(name = "产品品牌id")
    private Long prBrand;

    /**
     * 产品系列
     */
    @Excel(name = "产品系列")
    private Long prSeries;

    /**
     * 产品型号
     */
    @Excel(name = "产品型号")
    private String prModel;

    /**
     * 产品属性
     */
    @Excel(name = "产品属性")
    private String prProperty;

    /**
     * 产品材质
     */
    @Excel(name = "产品材质")
    private String prTexture;

    /**
     * 质保年限
     */
    @Excel(name = "质保年限")
    private BigDecimal prDeadline;

    /**
     * 价格
     */
    @Excel(name = "价格")
    private String prPrice;

    /**
     * 销量
     */
    @Excel(name = "销量")
    private Long prQuantity;

    /**
     * 是否显示 0显示 1不显示
     */
    @Excel(name = "是否显示 0显示 1不显示")
    private Integer prShow;

    /**
     * 图标
     */
    @Excel(name = "图标")
    private String prIoc;

    /**
     * 展示大图
     */
    @Excel(name = "展示大图")
    private String prDetail;

    /**
     * 产品详情
     */
    @Excel(name = "产品详情")
    private String prParticulars;

    /**
     * 施工效果
     */
    @Excel(name = "施工效果")
    private String prResult;

    /**
     * 交车案例
     */
    @Excel(name = "交车案例")
    private String prCase;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String creationTime;

    /**
     * 状态 0正常 1删除
     */
    @Excel(name = "状态 0正常 1删除")
    private Integer prStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 所属小程序
     */
    @Excel(name = "所属小程序")
    private String toApplet;

    @TableField(exist = false)
    private String[] ids;//删除用到的存储id

    /** 字典编码 */
    @TableField(exist = false)
    private Long dictCode;

    /** 字典排序 */
    @TableField(exist = false)
    private Long dictSort;

    /** 字典标签 */
    @TableField(exist = false)
    private String dictLabel;

    /** 字典键值 */
    @TableField(exist = false)
    private String dictValue;

    /** 字典类型 */
    @TableField(exist = false)
    private String dictType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPrType() {
        return prType;
    }

    public void setPrType(Long prType) {
        this.prType = prType;
    }

    public Long getPrBrand() {
        return prBrand;
    }

    public void setPrBrand(Long prBrand) {
        this.prBrand = prBrand;
    }

    public Long getPrSeries() {
        return prSeries;
    }

    public void setPrSeries(Long prSeries) {
        this.prSeries = prSeries;
    }

    public String getPrModel() {
        return prModel;
    }

    public void setPrModel(String prModel) {
        this.prModel = prModel;
    }

    public String getPrProperty() {
        return prProperty;
    }

    public void setPrProperty(String prProperty) {
        this.prProperty = prProperty;
    }

    public String getPrTexture() {
        return prTexture;
    }

    public void setPrTexture(String prTexture) {
        this.prTexture = prTexture;
    }

    public BigDecimal getPrDeadline() {
        return prDeadline;
    }

    public void setPrDeadline(BigDecimal prDeadline) {
        this.prDeadline = prDeadline;
    }

    public String getPrPrice() {
        return prPrice;
    }

    public void setPrPrice(String prPrice) {
        this.prPrice = prPrice;
    }

    public Long getPrQuantity() {
        return prQuantity;
    }

    public void setPrQuantity(Long prQuantity) {
        this.prQuantity = prQuantity;
    }

    public Integer getPrShow() {
        return prShow;
    }

    public void setPrShow(Integer prShow) {
        this.prShow = prShow;
    }

    public String getPrIoc() {
        return prIoc;
    }

    public void setPrIoc(String prIoc) {
        this.prIoc = prIoc;
    }

    public String getPrDetail() {
        return prDetail;
    }

    public void setPrDetail(String prDetail) {
        this.prDetail = prDetail;
    }

    public String getPrParticulars() {
        return prParticulars;
    }

    public void setPrParticulars(String prParticulars) {
        this.prParticulars = prParticulars;
    }

    public String getPrResult() {
        return prResult;
    }

    public void setPrResult(String prResult) {
        this.prResult = prResult;
    }

    public String getPrCase() {
        return prCase;
    }

    public void setPrCase(String prCase) {
        this.prCase = prCase;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public Integer getPrStatus() {
        return prStatus;
    }

    public void setPrStatus(Integer prStatus) {
        this.prStatus = prStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getToApplet() {
        return toApplet;
    }

    public void setToApplet(String toApplet) {
        this.toApplet = toApplet;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public Long getDictCode() {
        return dictCode;
    }

    public void setDictCode(Long dictCode) {
        this.dictCode = dictCode;
    }

    public Long getDictSort() {
        return dictSort;
    }

    public void setDictSort(Long dictSort) {
        this.dictSort = dictSort;
    }

    public String getDictLabel() {
        return dictLabel;
    }

    public void setDictLabel(String dictLabel) {
        this.dictLabel = dictLabel;
    }

    public String getDictValue() {
        return dictValue;
    }

    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }

    public String getDictType() {
        return dictType;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    @Override
    public String toString() {
        return "MiniProductModel{" +
                "id=" + id +
                ", prType=" + prType +
                ", prBrand=" + prBrand +
                ", prSeries=" + prSeries +
                ", prModel='" + prModel + '\'' +
                ", prProperty='" + prProperty + '\'' +
                ", prTexture='" + prTexture + '\'' +
                ", prDeadline=" + prDeadline +
                ", prPrice='" + prPrice + '\'' +
                ", prQuantity=" + prQuantity +
                ", prShow=" + prShow +
                ", prIoc='" + prIoc + '\'' +
                ", prDetail='" + prDetail + '\'' +
                ", prParticulars='" + prParticulars + '\'' +
                ", prResult='" + prResult + '\'' +
                ", prCase='" + prCase + '\'' +
                ", creationTime='" + creationTime + '\'' +
                ", prStatus=" + prStatus +
                ", remark='" + remark + '\'' +
                ", toApplet='" + toApplet + '\'' +
                ", ids=" + Arrays.toString(ids) +
                ", dictCode=" + dictCode +
                ", dictSort=" + dictSort +
                ", dictLabel='" + dictLabel + '\'' +
                ", dictValue='" + dictValue + '\'' +
                ", dictType='" + dictType + '\'' +
                '}';
    }
}
